﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.SharePoint;

namespace NewComer06.MVP
{
    public class ComerPresenter
    {
        public IComerView ComerView { get; set; }
        ComerPresenter()
        {    
        }

        public ComerPresenter(IComerView _IComerview)
        {
            ComerView = _IComerview;
            
        }


        public void DataBind()
        {
            ComerView.listComers = NewComerDAO.GetData();
            ComerView.TableBinding();

        }

        

        



    }
}
